package club.gskj.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import club.gskj.common.utils.PageUtils;
import club.gskj.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * @author 康纳-connor
 * @email 2417039231@gmail.com
 * @date 2021-02-07 10:08:31
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * @param id 采购单id
     * @return java.util.List<club.gskj.gulimall.ware.entity.PurchaseDetailEntity>
     * @author 康纳-connor
     * @creed: Talk is cheap,show me the code
     * @date 21.2.7 13:22
     * @Description 根据采购单id 查询对应的 采购项
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);
}

